#todoapp {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.header {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.header h1 {
    width: 100%;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 100px;
    text-align: center;
}

.header input {
    width: 100%;
    padding: 5px;
}

.main {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.todolist {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
}

.todo {
    padding: 5px;
    width: 100%;
    border-bottom: 1px solid grey;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view .index {
    width: 15%;
}

.view label {
    width: 60%;
}

.view .destroy {
    width: 15%;
}

.footer {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}